<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Railway Operation Simulator: TOneRoute Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="railway-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Railway Operation Simulator
   &#160;<span id="projectnumber">v2.23.2</span>
   </div>
   <div id="projectbrief">A railway simulator for Windows</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_t_one_route.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="class_t_one_route-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TOneRoute Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A descendent of <a class="el" href="class_t_one_pref_dir.html" title="The basic preferred direction class, consisting of any number of elements with preferred directions s...">TOnePrefDir</a> used for routes. Used during contruction of a route (ConstructRoute) and also for all completed routes, when each route is saved as an entry in the AllRoutesVector (see <a class="el" href="class_t_all_routes.html" title="Handles data and functions relating to all routes on the railway.">TAllRoutes</a>)  
 <a href="class_t_one_route.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TOneRoute:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 0 -->
</div>
</div>
<div class="dynheader">
Collaboration diagram for TOneRoute:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 1 -->
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route_1_1_t_route_flash.html">TRouteFlash</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flashing route.  <a href="class_t_one_route_1_1_t_route_flash.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route_1_1_t_route_flash_element.html">TRouteFlashElement</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A single flashing element of a route that flashes during setting.  <a href="class_t_one_route_1_1_t_route_flash_element.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a05ce65e80c2272a775f6497890d42b6b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a05ce65e80c2272a775f6497890d42b6b">ClearRoute</a> ()</td></tr>
<tr class="memdesc:a05ce65e80c2272a775f6497890d42b6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty the route of any stored elements.  <a href="class_t_one_route.html#a05ce65e80c2272a775f6497890d42b6b">More...</a><br /></td></tr>
<tr class="separator:a05ce65e80c2272a775f6497890d42b6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c359f022e985fbec06f5518bc9046b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a7c359f022e985fbec06f5518bc9046b3">StoreRouteElementInPrefDirVector</a> (<a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> LoadPrefDirElement)</td></tr>
<tr class="memdesc:a7c359f022e985fbec06f5518bc9046b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase a single route element - don't need this now incorporated in .cpp file.  <a href="class_t_one_route.html#a7c359f022e985fbec06f5518bc9046b3">More...</a><br /></td></tr>
<tr class="separator:a7c359f022e985fbec06f5518bc9046b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c15c59f761de0119fa17c44b18933d0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a8c15c59f761de0119fa17c44b18933d0">FindForwardTargetSignalAttribute</a> (int Caller, int &amp;NextForwardLinkedRouteNumber, int &amp;Attribute, int StartPos) const</td></tr>
<tr class="memdesc:a8c15c59f761de0119fa17c44b18933d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when setting signal aspects for a route by working forwards through the route to see what the next forward signal aspects is, because this determines all the rearward signal aspects (added StartPos at v2.17.0 as function now called in SetRearwardsSignalsReturnFalseForTrainInRear instead of SetRouteSignals)  <a href="class_t_one_route.html#a8c15c59f761de0119fa17c44b18933d0">More...</a><br /></td></tr>
<tr class="separator:a8c15c59f761de0119fa17c44b18933d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13dd08bfcc95ea1296f9ac4fd699e94d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a13dd08bfcc95ea1296f9ac4fd699e94d">GetNonPreferredRouteStartElement</a> (int Caller, int HLoc, int VLoc, bool Callon)</td></tr>
<tr class="memdesc:a13dd08bfcc95ea1296f9ac4fd699e94d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the starting conditions for a non-preferred (i.e. unrestricted) route selection beginning on HLoc &amp; VLoc.  <a href="class_t_one_route.html#a13dd08bfcc95ea1296f9ac4fd699e94d">More...</a><br /></td></tr>
<tr class="separator:a13dd08bfcc95ea1296f9ac4fd699e94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ce1c3a064a656ca764b5ed98c63151a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a5ce1c3a064a656ca764b5ed98c63151a">GetNextNonPreferredRouteElement</a> (int Caller, int HLoc, int VLoc, bool Callon, <a class="el" href="class_i_d_int.html">IDInt</a> &amp;<a class="el" href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">ReqPosRouteID</a>, bool &amp;PointsChanged)</td></tr>
<tr class="memdesc:a5ce1c3a064a656ca764b5ed98c63151a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Try to find a set of linked tracks between the route start element and the one at HLoc &amp; VLoc. If find one return true, set &amp;PointsChanged to true if any points need to be changed and &amp;ReqPosRouteID to the route ID of the existing route to attach to, if there is one, and -1 if not.  <a href="class_t_one_route.html#a5ce1c3a064a656ca764b5ed98c63151a">More...</a><br /></td></tr>
<tr class="separator:a5ce1c3a064a656ca764b5ed98c63151a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7ac58fe51393873e9054ffa724bc118"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#ab7ac58fe51393873e9054ffa724bc118">GetPreferredRouteStartElement</a> (int Caller, int HLoc, int VLoc, <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a> *EveryPrefDir, bool AutoSigsFlag)</td></tr>
<tr class="memdesc:ab7ac58fe51393873e9054ffa724bc118"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the starting conditions for a preferred direction or automatic signal route selection beginning on HLoc &amp; VLoc.  <a href="class_t_one_route.html#ab7ac58fe51393873e9054ffa724bc118">More...</a><br /></td></tr>
<tr class="separator:ab7ac58fe51393873e9054ffa724bc118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a974ac7ab4cb5e6a5df33a3d7b3563315"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a974ac7ab4cb5e6a5df33a3d7b3563315">GetNextPreferredRouteElement</a> (int Caller, int HLoc, int VLoc, <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a> *EveryPrefDir, bool ConsecSignals, bool AutoSigsFlag, <a class="el" href="class_i_d_int.html">IDInt</a> &amp;<a class="el" href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">ReqPosRouteID</a>, bool &amp;PointsChanged)</td></tr>
<tr class="memdesc:a974ac7ab4cb5e6a5df33a3d7b3563315"><td class="mdescLeft">&#160;</td><td class="mdescRight">Try to find a set of linked tracks that lie on preferred directions between the route start element and the one at HLoc &amp; VLoc. If find one return true, set &amp;PointsChanged to true if any points need to be changed and &amp;ReqPosRouteID to the route ID of the existing route to attach to, if there is one, and -1 if not.  <a href="class_t_one_route.html#a974ac7ab4cb5e6a5df33a3d7b3563315">More...</a><br /></td></tr>
<tr class="separator:a974ac7ab4cb5e6a5df33a3d7b3563315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7f8f09d6f6f662457d26c170fce9301"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#ac7f8f09d6f6f662457d26c170fce9301">PointsToBeChanged</a> (int Caller, int &amp;NewFailedPointsTVPos) const</td></tr>
<tr class="separator:ac7f8f09d6f6f662457d26c170fce9301"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69c8690ba3aae40ff99a5d2a629ba321"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a69c8690ba3aae40ff99a5d2a629ba321">SearchForNonPreferredRoute</a> (int Caller, <a class="el" href="class_t_track_element.html">TTrackElement</a> CurrentTrackElement, int XLinkPos, int RequiredPosition, <a class="el" href="class_i_d_int.html">IDInt</a> <a class="el" href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">ReqPosRouteID</a>, bool RecursiveCall)</td></tr>
<tr class="memdesc:a69c8690ba3aae40ff99a5d2a629ba321"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by GetNextNonPreferredRouteElement to carry out the search for linked track, and also called recursively, if recursive RecursiveCall is true (added at v2.13.0)  <a href="class_t_one_route.html#a69c8690ba3aae40ff99a5d2a629ba321">More...</a><br /></td></tr>
<tr class="separator:a69c8690ba3aae40ff99a5d2a629ba321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bbf0add5e8c2b88fb09cb1be158d9ad"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a3bbf0add5e8c2b88fb09cb1be158d9ad">SearchForPreferredRoute</a> (int Caller, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> PrefDirElement, int XLinkPos, int RequiredPosition, <a class="el" href="class_i_d_int.html">IDInt</a> <a class="el" href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">ReqPosRouteID</a>, <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a> *EveryPrefDir, bool ConsecSignals, int EndSelectPosition, bool AutoSigsFlag, bool RecursiveCall)</td></tr>
<tr class="memdesc:a3bbf0add5e8c2b88fb09cb1be158d9ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by GetNextPreferredRouteElement to carry out the search for a valid route, and also called recursively, if recursive RecursiveCall is true (added at v2.13.0)  <a href="class_t_one_route.html#a3bbf0add5e8c2b88fb09cb1be158d9ad">More...</a><br /></td></tr>
<tr class="separator:a3bbf0add5e8c2b88fb09cb1be158d9ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7cf8dc205ad2d463480ddf349fb2ccc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#ac7cf8dc205ad2d463480ddf349fb2ccc">SetRearwardsSignalsReturnFalseForTrainInRear</a> (int Caller, int &amp;Attribute, int PrefDirVectorStartPosition, bool SkipForwardLook) const</td></tr>
<tr class="memdesc:ac7cf8dc205ad2d463480ddf349fb2ccc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by <a class="el" href="class_t_all_routes.html#ac6bd39457747eaa96476a8a87df15ac2" title="Set rearwards signals from the specified route starting position.">TAllRoutes::SetAllRearwardsSignals</a> to set rearwards signals from a specified starting position. If a train is found during the rearwards search then this function flags the fact so that the calling function can change its behaviour with respect to further rearwards signal aspects (added SkipForwardLook at v2.17.0 so behaviour different in first and second calls).  <a href="class_t_one_route.html#ac7cf8dc205ad2d463480ddf349fb2ccc">More...</a><br /></td></tr>
<tr class="separator:ac7cf8dc205ad2d463480ddf349fb2ccc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4177e4c0c4d6817515cb19f4f7e1427b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a4177e4c0c4d6817515cb19f4f7e1427b">SignalHasFailed</a> (int Caller)</td></tr>
<tr class="memdesc:a4177e4c0c4d6817515cb19f4f7e1427b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check incorporated in route search routines after have found a legitimate route, returns false for signal failure &amp; deals with graphics &amp; messages.  <a href="class_t_one_route.html#a4177e4c0c4d6817515cb19f4f7e1427b">More...</a><br /></td></tr>
<tr class="separator:a4177e4c0c4d6817515cb19f4f7e1427b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53496c398dcdb3a644801c4e74d47d01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a53496c398dcdb3a644801c4e74d47d01">ConvertAndAddNonPreferredRouteSearchVector</a> (int Caller, <a class="el" href="class_i_d_int.html">IDInt</a> <a class="el" href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">ReqPosRouteID</a>)</td></tr>
<tr class="memdesc:a53496c398dcdb3a644801c4e74d47d01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called after a non-preferred (i.e. unrestricted) route has been selected and has finished flashing, to add it to the AllRoutesVector.  <a href="class_t_one_route.html#a53496c398dcdb3a644801c4e74d47d01">More...</a><br /></td></tr>
<tr class="separator:a53496c398dcdb3a644801c4e74d47d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36ba8adc8b4a47908ee4e1b8e75792ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a36ba8adc8b4a47908ee4e1b8e75792ca">ConvertAndAddPreferredRouteSearchVector</a> (int Caller, <a class="el" href="class_i_d_int.html">IDInt</a> <a class="el" href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">ReqPosRouteID</a>, bool AutoSigsFlag)</td></tr>
<tr class="memdesc:a36ba8adc8b4a47908ee4e1b8e75792ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called after a preferred (i.e. preferred direction or automatic signals) route has been selected and has finished flashing, to add it to the AllRoutesVector.  <a href="class_t_one_route.html#a36ba8adc8b4a47908ee4e1b8e75792ca">More...</a><br /></td></tr>
<tr class="separator:a36ba8adc8b4a47908ee4e1b8e75792ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a491fff1e619a9dc79774acf85eed72a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a491fff1e619a9dc79774acf85eed72a5">ForceCancelRoute</a> (int Caller)</td></tr>
<tr class="memdesc:a491fff1e619a9dc79774acf85eed72a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancel a route immediately if a train occupies it when travelling in the wrong direction (or occupies a crossover on a non-route line when the other track is in a route)  <a href="class_t_one_route.html#a491fff1e619a9dc79774acf85eed72a5">More...</a><br /></td></tr>
<tr class="separator:a491fff1e619a9dc79774acf85eed72a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe80edcf03788c54efde83431bd68eaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#abe80edcf03788c54efde83431bd68eaa">ReclaimSignalsForNonAutoSigRoutes</a> (int caller, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> LastPDElement, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> FirstPDElement)</td></tr>
<tr class="memdesc:abe80edcf03788c54efde83431bd68eaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds signal to front/end of green or red routes when blue route truncated or removed.  <a href="class_t_one_route.html#abe80edcf03788c54efde83431bd68eaa">More...</a><br /></td></tr>
<tr class="separator:abe80edcf03788c54efde83431bd68eaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a431473ce9a2ef6c49781ab84c972a641"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a431473ce9a2ef6c49781ab84c972a641">TruncateRoute</a> (int Caller, int HLoc, int VLoc, bool PrefDirRoute, <a class="el" href="_track_unit_8h.html#a7eb3a8eb193ea4c72dcf6e38e445c512">TTruncateReturnType</a> &amp;ReturnFlag)</td></tr>
<tr class="memdesc:a431473ce9a2ef6c49781ab84c972a641"><td class="mdescLeft">&#160;</td><td class="mdescRight">Examines the route to see whether the element at H &amp; V is in the route, and if not returns a ReturnFlag value of NotInRoute.  <a href="class_t_one_route.html#a431473ce9a2ef6c49781ab84c972a641">More...</a><br /></td></tr>
<tr class="separator:a431473ce9a2ef6c49781ab84c972a641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa36c801460b594ec96af1779d633d739"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#aa36c801460b594ec96af1779d633d739">RouteImageMarker</a> (int Caller, Graphics::TBitmap *Bitmap) const</td></tr>
<tr class="memdesc:aa36c801460b594ec96af1779d633d739"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when creating a bitmap image to display the route colours and direction arrows (as on screen during operation) for an operating railway.  <a href="class_t_one_route.html#aa36c801460b594ec96af1779d633d739">More...</a><br /></td></tr>
<tr class="separator:aa36c801460b594ec96af1779d633d739"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27944580589d98672c0328c498617bdb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a27944580589d98672c0328c498617bdb">SetLCChangeValues</a> (int Caller, bool PrefDirRoute)</td></tr>
<tr class="memdesc:a27944580589d98672c0328c498617bdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">After a route has been selected successfully this function sets all LC change values appropriately for the selected route type and location.  <a href="class_t_one_route.html#a27944580589d98672c0328c498617bdb">More...</a><br /></td></tr>
<tr class="separator:a27944580589d98672c0328c498617bdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8fe8f852dd24cf8d12933f22b5750c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a8f8fe8f852dd24cf8d12933f22b5750c">SetRemainingSearchVectorValues</a> (int Caller)</td></tr>
<tr class="memdesc:a8f8fe8f852dd24cf8d12933f22b5750c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when setting unrestricted routes to set the route element values appropriately after a successful search has been conducted. It isn't needed for preferred routes because the element values are obtained from the already set preferred direction elements.  <a href="class_t_one_route.html#a8f8fe8f852dd24cf8d12933f22b5750c">More...</a><br /></td></tr>
<tr class="separator:a8f8fe8f852dd24cf8d12933f22b5750c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a767d992d3794bbd31c8641e9ecb5f7dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a767d992d3794bbd31c8641e9ecb5f7dd">SetRouteFlashValues</a> (int Caller, bool AutoSigsFlag, bool PrefDirRoute)</td></tr>
<tr class="memdesc:a767d992d3794bbd31c8641e9ecb5f7dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">After a route has been selected successfully this function sets all RouteFlash (see above) values appropriately for the selected route type and location.  <a href="class_t_one_route.html#a767d992d3794bbd31c8641e9ecb5f7dd">More...</a><br /></td></tr>
<tr class="separator:a767d992d3794bbd31c8641e9ecb5f7dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8570cc4c3941927b206c015a9813af0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#ab8570cc4c3941927b206c015a9813af0">SetRouteSearchVectorGraphics</a> (int Caller, bool AutoSigsFlag, bool PrefDirRoute)</td></tr>
<tr class="memdesc:ab8570cc4c3941927b206c015a9813af0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set values for EXGraphicPtr and EntryDirectionGraphicPtr for all elements in SearchVector so that the route displays with the correct colour.  <a href="class_t_one_route.html#ab8570cc4c3941927b206c015a9813af0">More...</a><br /></td></tr>
<tr class="separator:ab8570cc4c3941927b206c015a9813af0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6dafc4713c2b10c9e21b28fac20430"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#afc6dafc4713c2b10c9e21b28fac20430">SetRoutePoints</a> (int Caller) const</td></tr>
<tr class="memdesc:afc6dafc4713c2b10c9e21b28fac20430"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when setting a route to set all points appropriately.  <a href="class_t_one_route.html#afc6dafc4713c2b10c9e21b28fac20430">More...</a><br /></td></tr>
<tr class="separator:afc6dafc4713c2b10c9e21b28fac20430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dfe3a028da7a4b6df0f44f33c3e2196"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a4dfe3a028da7a4b6df0f44f33c3e2196">SetRouteSignals</a> (int Caller) const</td></tr>
<tr class="memdesc:a4dfe3a028da7a4b6df0f44f33c3e2196"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when setting a route to set all signals appropriately. Also called when a new train is added at a position where a route has been set, when it is necessary to set the next rearwards signal to red, the next yellow etc.  <a href="class_t_one_route.html#a4dfe3a028da7a4b6df0f44f33c3e2196">More...</a><br /></td></tr>
<tr class="separator:a4dfe3a028da7a4b6df0f44f33c3e2196"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_t_one_pref_dir"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_t_one_pref_dir')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a></td></tr>
<tr class="memitem:a29d013bf730e23d27fdb2c390e3a14da inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a29d013bf730e23d27fdb2c390e3a14da">PrefDirSize</a> () const</td></tr>
<tr class="memdesc:a29d013bf730e23d27fdb2c390e3a14da inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the vector size.  <a href="class_t_one_pref_dir.html#a29d013bf730e23d27fdb2c390e3a14da">More...</a><br /></td></tr>
<tr class="separator:a29d013bf730e23d27fdb2c390e3a14da inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a7fb4b5ae1ed73c9a989d21980d5b54 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a7a7fb4b5ae1ed73c9a989d21980d5b54">SearchVectorSize</a> () const</td></tr>
<tr class="memdesc:a7a7fb4b5ae1ed73c9a989d21980d5b54 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the vector size.  <a href="class_t_one_pref_dir.html#a7a7fb4b5ae1ed73c9a989d21980d5b54">More...</a><br /></td></tr>
<tr class="separator:a7a7fb4b5ae1ed73c9a989d21980d5b54 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc09de3c32460a73d3de12625329210d inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#abc09de3c32460a73d3de12625329210d">ExternalClearPrefDirAnd4MultiMap</a> ()</td></tr>
<tr class="memdesc:abc09de3c32460a73d3de12625329210d inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty the existing preferred direction vector &amp; map - for use by other classes.  <a href="class_t_one_pref_dir.html#abc09de3c32460a73d3de12625329210d">More...</a><br /></td></tr>
<tr class="separator:abc09de3c32460a73d3de12625329210d inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6430567fea2e1538448514903c1b2eca inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a6430567fea2e1538448514903c1b2eca">BiDirectionalPrefDir</a> (int Caller, <a class="el" href="class_t_one_pref_dir.html#a37efac41fc00465b0569704517233d4e">TPrefDir4MultiMapIterator</a> PDPtr)</td></tr>
<tr class="memdesc:a6430567fea2e1538448514903c1b2eca inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the preferred direction pointed to has another pref dir in the opposite direction set (returns true) or not.  <a href="class_t_one_pref_dir.html#a6430567fea2e1538448514903c1b2eca">More...</a><br /></td></tr>
<tr class="separator:a6430567fea2e1538448514903c1b2eca inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1896affce3465b84cfd5128cca122639 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a1896affce3465b84cfd5128cca122639">CheckOnePrefDir</a> (int Caller, int NumberOfActiveElements, std::ifstream &amp;VecFile)</td></tr>
<tr class="memdesc:a1896affce3465b84cfd5128cca122639 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called before PrefDir loading as part of the FileIntegrityCheck function in case there is an error in the file. Very similar to LoadPrefDir but with value checks instead of storage in PrefDirVector.  <a href="class_t_one_pref_dir.html#a1896affce3465b84cfd5128cca122639">More...</a><br /></td></tr>
<tr class="separator:a1896affce3465b84cfd5128cca122639 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b81a1377e6269aafad6c25c929b2852 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a7b81a1377e6269aafad6c25c929b2852">EndPossible</a> (int Caller, bool &amp;LeadingPoints)</td></tr>
<tr class="memdesc:a7b81a1377e6269aafad6c25c929b2852 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when setting preferred directions, true if able to finish at the last selected element (can't finish if there is only one element or if end on leading points)  <a href="class_t_one_pref_dir.html#a7b81a1377e6269aafad6c25c929b2852">More...</a><br /></td></tr>
<tr class="separator:a7b81a1377e6269aafad6c25c929b2852 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe7f6088b7563714522882c10f6ae7f6 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#abe7f6088b7563714522882c10f6ae7f6">FindLinkingPrefDir</a> (int Caller, int PrefDirVectorNumber, int LinkNumberPos, int LinkNumber, int &amp;LinkedPrefDirVectorNumber)</td></tr>
<tr class="memdesc:abe7f6088b7563714522882c10f6ae7f6 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a pref dir element that links to another element at given vector number and link number &amp; position, returns true if found with linked vector number, true if buffer or continuation with link at blank end &amp; linked vector number = -1, or false if not found with vector number == -1.  <a href="class_t_one_pref_dir.html#abe7f6088b7563714522882c10f6ae7f6">More...</a><br /></td></tr>
<tr class="separator:abe7f6088b7563714522882c10f6ae7f6 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54e50116bec37610fcb000bc21189471 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a54e50116bec37610fcb000bc21189471">FindLinkingCompatiblePrefDir</a> (int Caller, int PrefDirVectorNumber, int LinkNumberPos, int LinkNumber, int &amp;LinkedPrefDirVectorNumber)</td></tr>
<tr class="memdesc:a54e50116bec37610fcb000bc21189471 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a pref dir element that is compatible and links to another element at given vector number and link number &amp; position, returns true if found with linked vector number, true if buffer or continuation with link at blank end &amp; linked vector number = -1, or false if not found with vector number == -1.  <a href="class_t_one_pref_dir.html#a54e50116bec37610fcb000bc21189471">More...</a><br /></td></tr>
<tr class="separator:a54e50116bec37610fcb000bc21189471 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06cd3491535362fccbba4e76b9a120e9 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a06cd3491535362fccbba4e76b9a120e9">GetNextPrefDirElement</a> (int Caller, int HLoc, int VLoc, bool &amp;FinishElement)</td></tr>
<tr class="memdesc:a06cd3491535362fccbba4e76b9a120e9 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when continuing a chain of preferred directions or element lengths. Tries to find a set of linked tracks between the last selected element and the one at HLoc &amp; VLoc, and returns true if it finds one. FinishElement is returned true if the element selected is a buffer or continuation - in which case the chain is complete.  <a href="class_t_one_pref_dir.html#a06cd3491535362fccbba4e76b9a120e9">More...</a><br /></td></tr>
<tr class="separator:a06cd3491535362fccbba4e76b9a120e9 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0acdc81183b894d1d6aecb5f563efefc inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a0acdc81183b894d1d6aecb5f563efefc">GetStartAndEndPrefDirElements</a> (int Caller, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &amp;StartElement, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &amp;EndElement, int &amp;LastIteratorValue)</td></tr>
<tr class="memdesc:a0acdc81183b894d1d6aecb5f563efefc inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when searching for start and end PrefDirElements when setting up automatic signals routes in PreStart mode.  <a href="class_t_one_pref_dir.html#a0acdc81183b894d1d6aecb5f563efefc">More...</a><br /></td></tr>
<tr class="separator:a0acdc81183b894d1d6aecb5f563efefc inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace0402792492c9da2551423f8287e41e inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#ace0402792492c9da2551423f8287e41e">GetPrefDirStartElement</a> (int Caller, int HLoc, int VLoc)</td></tr>
<tr class="memdesc:ace0402792492c9da2551423f8287e41e inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when beginning a chain of preferred directions or element lengths. Enter with HLoc &amp; VLoc set to selected element &amp; check if selected element is a valid track element, return false if not, if it is, store it as the first entry in PrefDirVector and return true.  <a href="class_t_one_pref_dir.html#ace0402792492c9da2551423f8287e41e">More...</a><br /></td></tr>
<tr class="separator:ace0402792492c9da2551423f8287e41e inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fd55282096fe63f0baeab323c6ccc8b inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a8fd55282096fe63f0baeab323c6ccc8b">GetPrefDirTruncateElement</a> (int Caller, int HLoc, int VLoc)</td></tr>
<tr class="memdesc:a8fd55282096fe63f0baeab323c6ccc8b inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called during PrefDir build or distance setting. It truncates at &amp; including the first element in the PrefDir vector that matches H &amp; V. After the truncate the final element of the remaining PrefDir has its data members reset to the same defaults as would be the case if the PrefDir had been built up to that point - i.e. for first element or a leading point.  <a href="class_t_one_pref_dir.html#a8fd55282096fe63f0baeab323c6ccc8b">More...</a><br /></td></tr>
<tr class="separator:a8fd55282096fe63f0baeab323c6ccc8b inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b883633382e26cdff4583a24575d337 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a2b883633382e26cdff4583a24575d337">ValidatePrefDir</a> (int Caller)</td></tr>
<tr class="memdesc:a2b883633382e26cdff4583a24575d337 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks that all elements in PrefDirVector have been properly set, i.e. don't have their default values, and that every element is connected to the next element.  <a href="class_t_one_pref_dir.html#a2b883633382e26cdff4583a24575d337">More...</a><br /></td></tr>
<tr class="separator:a2b883633382e26cdff4583a24575d337 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26a1ee9d1ced0d53e35936097d4896f0 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a26a1ee9d1ced0d53e35936097d4896f0">LastElementNumber</a> (int Caller) const</td></tr>
<tr class="memdesc:a26a1ee9d1ced0d53e35936097d4896f0 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the vector position of the last element in the vector (i.e. one less than the vector size)  <a href="class_t_one_pref_dir.html#a26a1ee9d1ced0d53e35936097d4896f0">More...</a><br /></td></tr>
<tr class="separator:a26a1ee9d1ced0d53e35936097d4896f0 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42862b2abcd0eb356982f4ce46922922 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_one_pref_dir.html#a8a905cfdce2439be93d45b66339b7382">TPrefDirVectorIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a42862b2abcd0eb356982f4ce46922922">LastElementPtr</a> (int Caller)</td></tr>
<tr class="memdesc:a42862b2abcd0eb356982f4ce46922922 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to the last element in the vector.  <a href="class_t_one_pref_dir.html#a42862b2abcd0eb356982f4ce46922922">More...</a><br /></td></tr>
<tr class="separator:a42862b2abcd0eb356982f4ce46922922 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b67e5aaa86d324229aedc68f32f32b8 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a5b67e5aaa86d324229aedc68f32f32b8">GetFixedPrefDirElementAt</a> (int Caller, int At) const</td></tr>
<tr class="memdesc:a5b67e5aaa86d324229aedc68f32f32b8 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a non-modifiable element at PrefDirVector position 'At'.  <a href="class_t_one_pref_dir.html#a5b67e5aaa86d324229aedc68f32f32b8">More...</a><br /></td></tr>
<tr class="separator:a5b67e5aaa86d324229aedc68f32f32b8 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5a2c955fa9c2584c683accbacb15f4c inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#af5a2c955fa9c2584c683accbacb15f4c">GetModifiablePrefDirElementAt</a> (int Caller, int At)</td></tr>
<tr class="memdesc:af5a2c955fa9c2584c683accbacb15f4c inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a modifiable element at PrefDirVector position 'At'.  <a href="class_t_one_pref_dir.html#af5a2c955fa9c2584c683accbacb15f4c">More...</a><br /></td></tr>
<tr class="separator:af5a2c955fa9c2584c683accbacb15f4c inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11543812cef66a28f4747fb3f8f33f47 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a11543812cef66a28f4747fb3f8f33f47">GetFixedSearchElementAt</a> (int Caller, int At) const</td></tr>
<tr class="memdesc:a11543812cef66a28f4747fb3f8f33f47 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a non-modifiable element at SearchVector position 'At'.  <a href="class_t_one_pref_dir.html#a11543812cef66a28f4747fb3f8f33f47">More...</a><br /></td></tr>
<tr class="separator:a11543812cef66a28f4747fb3f8f33f47 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6724a8304760eb6107bddc60a269595b inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a6724a8304760eb6107bddc60a269595b">GetModifiableSearchElementAt</a> (int Caller, int At)</td></tr>
<tr class="memdesc:a6724a8304760eb6107bddc60a269595b inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a modifiable element at SearchVector position 'At'.  <a href="class_t_one_pref_dir.html#a6724a8304760eb6107bddc60a269595b">More...</a><br /></td></tr>
<tr class="separator:a6724a8304760eb6107bddc60a269595b inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abadb0c99b24d6dbfda371d96b308fc6e inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#abadb0c99b24d6dbfda371d96b308fc6e">CalcDistanceAndSpeed</a> (int Caller, int &amp;OverallDistance, int &amp;OverallSpeedLimit, bool &amp;LeadingPointsAtLastElement)</td></tr>
<tr class="memdesc:abadb0c99b24d6dbfda371d96b308fc6e inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when setting element lengths, returns in &amp;OverallDistance the overall distance for the selected chain of elements and also the speed limit in &amp;OverallSpeedLimit, which is set to -1 if the speed limits vary over the chain.  <a href="class_t_one_pref_dir.html#abadb0c99b24d6dbfda371d96b308fc6e">More...</a><br /></td></tr>
<tr class="separator:abadb0c99b24d6dbfda371d96b308fc6e inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e8d14c19c70cafe968e7481b116a714 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a5e8d14c19c70cafe968e7481b116a714">ExternalStorePrefDirElement</a> (int Caller, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> LoadPrefDirElement)</td></tr>
<tr class="memdesc:a5e8d14c19c70cafe968e7481b116a714 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Store a single pref dir element in the vector &amp; map - used by other classes.  <a href="class_t_one_pref_dir.html#a5e8d14c19c70cafe968e7481b116a714">More...</a><br /></td></tr>
<tr class="separator:a5e8d14c19c70cafe968e7481b116a714 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a820f6cc109de519289e6a63dac835ebc inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a820f6cc109de519289e6a63dac835ebc">GetVectorPositionsFromPrefDir4MultiMap</a> (int Caller, int HLoc, int VLoc, bool &amp;FoundFlag, int &amp;PrefDirPos0, int &amp;PrefDirPos1, int &amp;PrefDirPos2, int &amp;PrefDirPos3)</td></tr>
<tr class="memdesc:a820f6cc109de519289e6a63dac835ebc inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return up to 4 vector positions for a given HLoc &amp; VLoc; unused values return -1.  <a href="class_t_one_pref_dir.html#a820f6cc109de519289e6a63dac835ebc">More...</a><br /></td></tr>
<tr class="separator:a820f6cc109de519289e6a63dac835ebc inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a614933ff3958e4b8c9be9bc78159d9e8 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a614933ff3958e4b8c9be9bc78159d9e8">LoadOldPrefDir</a> (int Caller, std::ifstream &amp;VecFile)</td></tr>
<tr class="memdesc:a614933ff3958e4b8c9be9bc78159d9e8 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Old version of LoadPrefDir, used during development when the save format changed so the old files could be loaded prior to resaving in the new format.  <a href="class_t_one_pref_dir.html#a614933ff3958e4b8c9be9bc78159d9e8">More...</a><br /></td></tr>
<tr class="separator:a614933ff3958e4b8c9be9bc78159d9e8 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0779c9edd1ba268356590aac4719166d inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a0779c9edd1ba268356590aac4719166d">LoadPrefDir</a> (int Caller, std::ifstream &amp;VecFile)</td></tr>
<tr class="memdesc:a0779c9edd1ba268356590aac4719166d inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load a vector and map of preferred directions from the file.  <a href="class_t_one_pref_dir.html#a0779c9edd1ba268356590aac4719166d">More...</a><br /></td></tr>
<tr class="separator:a0779c9edd1ba268356590aac4719166d inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef8388386635d73a921fae7ce43f5214 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#aef8388386635d73a921fae7ce43f5214">PrefDirMarker</a> (int Caller, <a class="el" href="_track_unit_8h.html#af43def3247611f36d741e6324ea85d14">TPrefDirRoute</a> PrefDirRoute, bool BuildingPrefDir, <a class="el" href="class_t_display.html">TDisplay</a> *Disp) const</td></tr>
<tr class="memdesc:aef8388386635d73a921fae7ce43f5214 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrefDir and route track display function, including direction markers.  <a href="class_t_one_pref_dir.html#aef8388386635d73a921fae7ce43f5214">More...</a><br /></td></tr>
<tr class="separator:aef8388386635d73a921fae7ce43f5214 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d115535b2e2d2ea05e210997a3f525c inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a3d115535b2e2d2ea05e210997a3f525c">SavePrefDirVector</a> (int Caller, std::ofstream &amp;VecFile)</td></tr>
<tr class="memdesc:a3d115535b2e2d2ea05e210997a3f525c inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save the preferred direction vector to a file.  <a href="class_t_one_pref_dir.html#a3d115535b2e2d2ea05e210997a3f525c">More...</a><br /></td></tr>
<tr class="separator:a3d115535b2e2d2ea05e210997a3f525c inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8871c609a1586aa9c4f723afaccd2502 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a8871c609a1586aa9c4f723afaccd2502">SaveSearchVector</a> (int Caller, std::ofstream &amp;VecFile)</td></tr>
<tr class="memdesc:a8871c609a1586aa9c4f723afaccd2502 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save the search vector to a file.  <a href="class_t_one_pref_dir.html#a8871c609a1586aa9c4f723afaccd2502">More...</a><br /></td></tr>
<tr class="separator:a8871c609a1586aa9c4f723afaccd2502 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af87440e0ace47b20c8a874c51b314064 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#af87440e0ace47b20c8a874c51b314064">WritePrefDirToImage</a> (int Caller, Graphics::TBitmap *Bitmap)</td></tr>
<tr class="memdesc:af87440e0ace47b20c8a874c51b314064 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when creating a bitmap image to display preferred directions (as on screen during 'Set preferred direction' mode)  <a href="class_t_one_pref_dir.html#af87440e0ace47b20c8a874c51b314064">More...</a><br /></td></tr>
<tr class="separator:af87440e0ace47b20c8a874c51b314064 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8c8ad293f45948986903a05302b2dc8 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#ab8c8ad293f45948986903a05302b2dc8">CheckPrefDirAgainstTrackVectorNoMessage</a> (int Caller)</td></tr>
<tr class="memdesc:ab8c8ad293f45948986903a05302b2dc8 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check loaded PrefDir against loaded track, and if discrepancies found clear EveryPrefDir &amp; PrefDir4MultiMap, messages are given by the calling routine. Return true for OK.  <a href="class_t_one_pref_dir.html#ab8c8ad293f45948986903a05302b2dc8">More...</a><br /></td></tr>
<tr class="separator:ab8c8ad293f45948986903a05302b2dc8 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab79dc3f93a471d2182ce625fcac1ff2d inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#ab79dc3f93a471d2182ce625fcac1ff2d">CheckPrefDirAgainstTrackVector</a> (int Caller)</td></tr>
<tr class="memdesc:ab79dc3f93a471d2182ce625fcac1ff2d inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check loaded PrefDir against loaded track, and if discrepancies found give message &amp; clear EveryPrefDir &amp; PrefDir4MultiMap.  <a href="class_t_one_pref_dir.html#ab79dc3f93a471d2182ce625fcac1ff2d">More...</a><br /></td></tr>
<tr class="separator:ab79dc3f93a471d2182ce625fcac1ff2d inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65df51092983945e1fe3c20bf8917a39 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a65df51092983945e1fe3c20bf8917a39">ConsolidatePrefDirs</a> (int Caller, <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a> *InputPrefDir)</td></tr>
<tr class="memdesc:a65df51092983945e1fe3c20bf8917a39 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when a preferred direction has been set to add all the elements to EveryPrefDir, except when they already exist in EveryPrefDir.  <a href="class_t_one_pref_dir.html#a65df51092983945e1fe3c20bf8917a39">More...</a><br /></td></tr>
<tr class="separator:a65df51092983945e1fe3c20bf8917a39 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8042c0e2fd7f9e39c3ca2a7bff7c68a4 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a8042c0e2fd7f9e39c3ca2a7bff7c68a4">EraseFromPrefDirVectorAnd4MultiMap</a> (int Caller, int HLoc, int VLoc)</td></tr>
<tr class="memdesc:a8042c0e2fd7f9e39c3ca2a7bff7c68a4 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase element at HLoc and VLoc from the PrefDirVector and from the 4MultiMap. Note that this entails erasing up to four elements (2 directions and 2 tracks for 4-entry elements).  <a href="class_t_one_pref_dir.html#a8042c0e2fd7f9e39c3ca2a7bff7c68a4">More...</a><br /></td></tr>
<tr class="separator:a8042c0e2fd7f9e39c3ca2a7bff7c68a4 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b425a3ed8ef998e2366d13ad52bf08c inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a9b425a3ed8ef998e2366d13ad52bf08c">EveryPrefDirMarker</a> (int Caller, <a class="el" href="class_t_display.html">TDisplay</a> *Disp)</td></tr>
<tr class="memdesc:a9b425a3ed8ef998e2366d13ad52bf08c inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Similar to PrefDirMarker but used only to display EveryPrefDir - red for unidirectional PrefDir &amp; green for bidirectional. Colours taken from the route colours. Plot red first so green overwrites for bidirectional points.  <a href="class_t_one_pref_dir.html#a9b425a3ed8ef998e2366d13ad52bf08c">More...</a><br /></td></tr>
<tr class="separator:a9b425a3ed8ef998e2366d13ad52bf08c inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5bb3791670fd04645faf4ab1f2a5781 inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#ab5bb3791670fd04645faf4ab1f2a5781">RealignAfterTrackErase</a> (int Caller, int ErasedTrackVectorPosition)</td></tr>
<tr class="memdesc:ab5bb3791670fd04645faf4ab1f2a5781 inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">After a track element is erased the preferred direction elements are likely to be affected. This function erases any preferred direction elements that either correspond to the erased track element, or were linked to it.  <a href="class_t_one_pref_dir.html#ab5bb3791670fd04645faf4ab1f2a5781">More...</a><br /></td></tr>
<tr class="separator:ab5bb3791670fd04645faf4ab1f2a5781 inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e62c2571d3629a067e1071086de72de inherit pub_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a1e62c2571d3629a067e1071086de72de">RebuildPrefDirVector</a> (int Caller)</td></tr>
<tr class="memdesc:a1e62c2571d3629a067e1071086de72de inherit pub_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called after the track vector has been rebuilt following linking, to rebuild the preferred direction vector to correspond to the element positions in the rebuilt track vector. Doesn't affect the preferred direction multimap.  <a href="class_t_one_pref_dir.html#a1e62c2571d3629a067e1071086de72de">More...</a><br /></td></tr>
<tr class="separator:a1e62c2571d3629a067e1071086de72de inherit pub_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aac291f4829ef0570b124bda994488e21"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#aac291f4829ef0570b124bda994488e21">QuitAllRecursiveSearchesFlag</a></td></tr>
<tr class="memdesc:aac291f4829ef0570b124bda994488e21"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; limit to the number of elements searched in attempting to find a route in on leg  <a href="class_t_one_route.html#aac291f4829ef0570b124bda994488e21">More...</a><br /></td></tr>
<tr class="separator:aac291f4829ef0570b124bda994488e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee7b2c91e9920bbb59c84cb562f0680a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d_int.html">IDInt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">ReqPosRouteID</a></td></tr>
<tr class="memdesc:aee7b2c91e9920bbb59c84cb562f0680a"><td class="mdescLeft">&#160;</td><td class="mdescRight">session saves as routes in build are not saved in sessions  <a href="class_t_one_route.html#aee7b2c91e9920bbb59c84cb562f0680a">More...</a><br /></td></tr>
<tr class="separator:aee7b2c91e9920bbb59c84cb562f0680a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a485b30c243956a400f658124d0f4ecd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d_int.html">IDInt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a485b30c243956a400f658124d0f4ecd0">StartSelectionRouteID</a></td></tr>
<tr class="memdesc:a485b30c243956a400f658124d0f4ecd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">needed for session saves as routes in build are not saved in sessions  <a href="class_t_one_route.html#a485b30c243956a400f658124d0f4ecd0">More...</a><br /></td></tr>
<tr class="separator:a485b30c243956a400f658124d0f4ecd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75f84f2ad79c985ff7b664cfecdab376"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a75f84f2ad79c985ff7b664cfecdab376">RouteID</a></td></tr>
<tr class="memdesc:a75f84f2ad79c985ff7b664cfecdab376"><td class="mdescLeft">&#160;</td><td class="mdescRight">the ID number of the route, this is needed for session saves  <a href="class_t_one_route.html#a75f84f2ad79c985ff7b664cfecdab376">More...</a><br /></td></tr>
<tr class="separator:a75f84f2ad79c985ff7b664cfecdab376"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b779b57f966fd9c7c7d1c42f8ecde22"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a5b779b57f966fd9c7c7d1c42f8ecde22">StartRoutePosition</a></td></tr>
<tr class="memdesc:a5b779b57f966fd9c7c7d1c42f8ecde22"><td class="mdescLeft">&#160;</td><td class="mdescRight">TrackVectorPosition of the StartElement(s) set when the starting position of a new route is selected, note that although there may be two StartElements (as there can be two preferred directions on a single element), there is only one TrackVectorPosition as the element is the same for both.  <a href="class_t_one_route.html#a5b779b57f966fd9c7c7d1c42f8ecde22">More...</a><br /></td></tr>
<tr class="separator:a5b779b57f966fd9c7c7d1c42f8ecde22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a884d9f41f6c31abba02933d24a940e22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a884d9f41f6c31abba02933d24a940e22">StartElement1</a></td></tr>
<tr class="separator:a884d9f41f6c31abba02933d24a940e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e1037a37eafc6f9e3d27cf362ee80ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a0e1037a37eafc6f9e3d27cf362ee80ad">StartElement2</a></td></tr>
<tr class="memdesc:a0e1037a37eafc6f9e3d27cf362ee80ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">the two preferred direction elements corresponding to the starting position of a new route  <a href="class_t_one_route.html#a0e1037a37eafc6f9e3d27cf362ee80ad">More...</a><br /></td></tr>
<tr class="separator:a0e1037a37eafc6f9e3d27cf362ee80ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5c3066eea66bd42ea847f550e2b0589"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_one_route_1_1_t_route_flash.html">TRouteFlash</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#ad5c3066eea66bd42ea847f550e2b0589">RouteFlash</a></td></tr>
<tr class="memdesc:ad5c3066eea66bd42ea847f550e2b0589"><td class="mdescLeft">&#160;</td><td class="mdescRight">the class member that allows the route to flash during setting up (see <a class="el" href="class_t_one_route_1_1_t_route_flash.html" title="The flashing route.">TRouteFlash</a> above)  <a href="class_t_one_route.html#ad5c3066eea66bd42ea847f550e2b0589">More...</a><br /></td></tr>
<tr class="separator:ad5c3066eea66bd42ea847f550e2b0589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_t_one_pref_dir"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_t_one_pref_dir')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a></td></tr>
<tr class="memitem:aa6738f8f24fe0a417a84388c049b5e4c inherit pub_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_one_pref_dir.html#a940ba2bdbedb288c8188c1da5c4c79bc">TPrefDir4MultiMap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#aa6738f8f24fe0a417a84388c049b5e4c">PrefDir4MultiMap</a></td></tr>
<tr class="memdesc:aa6738f8f24fe0a417a84388c049b5e4c inherit pub_attribs_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">the pref dir multimap - up to 4 values (up to 2 tracks per element each with 2 directions)  <a href="class_t_one_pref_dir.html#aa6738f8f24fe0a417a84388c049b5e4c">More...</a><br /></td></tr>
<tr class="separator:aa6738f8f24fe0a417a84388c049b5e4c inherit pub_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2da871d689df7e78f430c5d354bb953 inherit pub_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_track_unit_8h.html#a79394e04a2435f7300aad79c757ae2ce">TPrefDirVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#ab2da871d689df7e78f430c5d354bb953">PrefDirVector</a></td></tr>
<tr class="separator:ab2da871d689df7e78f430c5d354bb953 inherit pub_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d035366a044fc7d0e0a745762bd4664 inherit pub_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_track_unit_8h.html#a79394e04a2435f7300aad79c757ae2ce">TPrefDirVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a2d035366a044fc7d0e0a745762bd4664">SearchVector</a></td></tr>
<tr class="memdesc:a2d035366a044fc7d0e0a745762bd4664 inherit pub_attribs_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">pref dir vectors, first is the main vector, second used to store search elements temporarily  <a href="class_t_one_pref_dir.html#a2d035366a044fc7d0e0a745762bd4664">More...</a><br /></td></tr>
<tr class="separator:a2d035366a044fc7d0e0a745762bd4664 inherit pub_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:aa2d1990ed4b4884eb45ac54644fe749c"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#aa2d1990ed4b4884eb45ac54644fe749c">RouteSearchLimit</a> = 200000</td></tr>
<tr class="separator:aa2d1990ed4b4884eb45ac54644fe749c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bd715c369739f809f6a53be6d7879b2"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_route.html#a6bd715c369739f809f6a53be6d7879b2">RouteSearchLimitOneLeg</a> = 300</td></tr>
<tr class="memdesc:a6bd715c369739f809f6a53be6d7879b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; limit to the total number of elements searched in attempting to find a route  <a href="class_t_one_route.html#a6bd715c369739f809f6a53be6d7879b2">More...</a><br /></td></tr>
<tr class="separator:a6bd715c369739f809f6a53be6d7879b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_t_one_pref_dir"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_t_one_pref_dir')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a></td></tr>
<tr class="memitem:a940ba2bdbedb288c8188c1da5c4c79bc inherit pub_types_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">typedef std::multimap&lt; <a class="el" href="_track_unit_8h.html#a524d48fe8a394092b35867930a7cd2af">THVPair</a>, unsigned int, <a class="el" href="class_t_map_comp.html">TMapComp</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a940ba2bdbedb288c8188c1da5c4c79bc">TPrefDir4MultiMap</a></td></tr>
<tr class="memdesc:a940ba2bdbedb288c8188c1da5c4c79bc inherit pub_types_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">HLoc&amp;VLoc as a pair, and PrefDirVectorPosition, can be up to 4 values at any H&amp;V.  <a href="class_t_one_pref_dir.html#a940ba2bdbedb288c8188c1da5c4c79bc">More...</a><br /></td></tr>
<tr class="separator:a940ba2bdbedb288c8188c1da5c4c79bc inherit pub_types_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37efac41fc00465b0569704517233d4e inherit pub_types_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">typedef std::multimap&lt; <a class="el" href="_track_unit_8h.html#a524d48fe8a394092b35867930a7cd2af">THVPair</a>, unsigned int, <a class="el" href="class_t_map_comp.html">TMapComp</a> &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a37efac41fc00465b0569704517233d4e">TPrefDir4MultiMapIterator</a></td></tr>
<tr class="separator:a37efac41fc00465b0569704517233d4e inherit pub_types_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05da09493d511df74b8e5b9a794c2e0b inherit pub_types_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">typedef std::pair&lt; <a class="el" href="_track_unit_8h.html#a524d48fe8a394092b35867930a7cd2af">THVPair</a>, unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a05da09493d511df74b8e5b9a794c2e0b">TPrefDir4MultiMapEntry</a></td></tr>
<tr class="separator:a05da09493d511df74b8e5b9a794c2e0b inherit pub_types_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a905cfdce2439be93d45b66339b7382 inherit pub_types_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a8a905cfdce2439be93d45b66339b7382">TPrefDirVectorIterator</a></td></tr>
<tr class="separator:a8a905cfdce2439be93d45b66339b7382 inherit pub_types_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53624ed7b429b42aa57cfe5551f5df71 inherit pub_types_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a53624ed7b429b42aa57cfe5551f5df71">TPrefDirVectorConstIterator</a></td></tr>
<tr class="separator:a53624ed7b429b42aa57cfe5551f5df71 inherit pub_types_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_t_one_pref_dir"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_t_one_pref_dir')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a></td></tr>
<tr class="memitem:ae0e03d494164fe961da51b0be8492934 inherit pro_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#ae0e03d494164fe961da51b0be8492934">PresetAutoRouteDiagonalFouledByTrack</a> (int Caller, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> ElementIn, int XLink)</td></tr>
<tr class="memdesc:ae0e03d494164fe961da51b0be8492934 inherit pro_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by GetStartAndEndPrefDirElements...  <a href="class_t_one_pref_dir.html#ae0e03d494164fe961da51b0be8492934">More...</a><br /></td></tr>
<tr class="separator:ae0e03d494164fe961da51b0be8492934 inherit pro_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab35c683ba0ec156d19d4db991046b7d2 inherit pro_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#ab35c683ba0ec156d19d4db991046b7d2">PresetAutoRouteElementValid</a> (int Caller, <a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> ElementIn, int EntryPos)</td></tr>
<tr class="memdesc:ab35c683ba0ec156d19d4db991046b7d2 inherit pro_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks ElementIn and returns true only if a single prefdir set at that H&amp;V, with EntryPos giving entry position, not points, crossovers, signals with wrong direction set, or buffers. Added at v1.2.0.  <a href="class_t_one_pref_dir.html#ab35c683ba0ec156d19d4db991046b7d2">More...</a><br /></td></tr>
<tr class="separator:ab35c683ba0ec156d19d4db991046b7d2 inherit pro_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c6a19d67ada7059491afae05ced4a4 inherit pro_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a82c6a19d67ada7059491afae05ced4a4">SearchForPrefDir</a> (int Caller, <a class="el" href="class_t_track_element.html">TTrackElement</a> TrackElement, int XLinkPos, int RequiredPosition)</td></tr>
<tr class="memdesc:a82c6a19d67ada7059491afae05ced4a4 inherit pro_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Try to find a selected element from a given start position. Enter with CurrentTrackElement stored in the PrefDirVector, XLinkPos set to the link to search on, &amp; SearchVector cleared unless entered recursively. Function is a continuous loop that exits when find required element (returns true) or reaches a buffer or continuation or otherwise fails a search condition (returns false).  <a href="class_t_one_pref_dir.html#a82c6a19d67ada7059491afae05ced4a4">More...</a><br /></td></tr>
<tr class="separator:a82c6a19d67ada7059491afae05ced4a4 inherit pro_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a200fd1dc1cffc400160b8d2147278752 inherit pro_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a200fd1dc1cffc400160b8d2147278752">GetOnePrefDirPosition</a> (int Caller, int HLoc, int VLoc)</td></tr>
<tr class="memdesc:a200fd1dc1cffc400160b8d2147278752 inherit pro_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Although there may be up to four entries at one H &amp; V position this function gets just one. It is used in EraseFromPrefDirVectorAnd4MultiMap by being called as many times as there are PrefDir elements at H &amp; V.  <a href="class_t_one_pref_dir.html#a200fd1dc1cffc400160b8d2147278752">More...</a><br /></td></tr>
<tr class="separator:a200fd1dc1cffc400160b8d2147278752 inherit pro_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a482d1c69a674eec4db0190b78659c495 inherit pro_methods_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a482d1c69a674eec4db0190b78659c495">ConvertPrefDirSearchVector</a> (int Caller)</td></tr>
<tr class="memdesc:a482d1c69a674eec4db0190b78659c495 inherit pro_methods_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called after a successful search to add the elements from the search vector to the pref dir vector.  <a href="class_t_one_pref_dir.html#a482d1c69a674eec4db0190b78659c495">More...</a><br /></td></tr>
<tr class="separator:a482d1c69a674eec4db0190b78659c495 inherit pro_methods_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_t_one_pref_dir"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_t_one_pref_dir')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a></td></tr>
<tr class="memitem:af33d48762fe2b104b75fca9a97d96252 inherit pro_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#af33d48762fe2b104b75fca9a97d96252">SearchLimitLowH</a></td></tr>
<tr class="separator:af33d48762fe2b104b75fca9a97d96252 inherit pro_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68677f0598c54c3e6e3c27075b23aa14 inherit pro_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a68677f0598c54c3e6e3c27075b23aa14">SearchLimitHighH</a></td></tr>
<tr class="separator:a68677f0598c54c3e6e3c27075b23aa14 inherit pro_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa469479759bd4379bee3f938ad8bfd90 inherit pro_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#aa469479759bd4379bee3f938ad8bfd90">SearchLimitLowV</a></td></tr>
<tr class="separator:aa469479759bd4379bee3f938ad8bfd90 inherit pro_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2665c08fe2a230db10ded6e78975bc13 inherit pro_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a2665c08fe2a230db10ded6e78975bc13">SearchLimitHighV</a></td></tr>
<tr class="separator:a2665c08fe2a230db10ded6e78975bc13 inherit pro_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e982d8317ce1579b143adf74d88d692 inherit pro_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a8e982d8317ce1579b143adf74d88d692">TotalSearchCount</a></td></tr>
<tr class="memdesc:a8e982d8317ce1579b143adf74d88d692 inherit pro_attribs_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">counts search elements, used to abort searches (prefdirs or routes) if reaches too high a value  <a href="class_t_one_pref_dir.html#a8e982d8317ce1579b143adf74d88d692">More...</a><br /></td></tr>
<tr class="separator:a8e982d8317ce1579b143adf74d88d692 inherit pro_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_class_t_one_pref_dir"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_class_t_one_pref_dir')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a></td></tr>
<tr class="memitem:a9fc8032fb9c525951620e7aafa067d45 inherit pro_static_attribs_class_t_one_pref_dir"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_one_pref_dir.html#a9fc8032fb9c525951620e7aafa067d45">PrefDirSearchLimit</a> = 30000</td></tr>
<tr class="memdesc:a9fc8032fb9c525951620e7aafa067d45 inherit pro_static_attribs_class_t_one_pref_dir"><td class="mdescLeft">&#160;</td><td class="mdescRight">limit to the number of elements searched in attempting to find a preferred direction  <a href="class_t_one_pref_dir.html#a9fc8032fb9c525951620e7aafa067d45">More...</a><br /></td></tr>
<tr class="separator:a9fc8032fb9c525951620e7aafa067d45 inherit pro_static_attribs_class_t_one_pref_dir"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A descendent of <a class="el" href="class_t_one_pref_dir.html" title="The basic preferred direction class, consisting of any number of elements with preferred directions s...">TOnePrefDir</a> used for routes. Used during contruction of a route (ConstructRoute) and also for all completed routes, when each route is saved as an entry in the AllRoutesVector (see <a class="el" href="class_t_all_routes.html" title="Handles data and functions relating to all routes on the railway.">TAllRoutes</a>) </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01521">1521</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a05ce65e80c2272a775f6497890d42b6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05ce65e80c2272a775f6497890d42b6b">&#9670;&nbsp;</a></span>ClearRoute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::ClearRoute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Empty the route of any stored elements. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01574">1574</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a05ce65e80c2272a775f6497890d42b6b_icgraph.svg" width="100%" height="532"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a53496c398dcdb3a644801c4e74d47d01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53496c398dcdb3a644801c4e74d47d01">&#9670;&nbsp;</a></span>ConvertAndAddNonPreferredRouteSearchVector()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::ConvertAndAddNonPreferredRouteSearchVector </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d_int.html">IDInt</a>&#160;</td>
          <td class="paramname"><em>ReqPosRouteID</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called after a non-preferred (i.e. unrestricted) route has been selected and has finished flashing, to add it to the AllRoutesVector. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18147">18147</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 2 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a53496c398dcdb3a644801c4e74d47d01_icgraph.svg" width="100%" height="378"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a36ba8adc8b4a47908ee4e1b8e75792ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36ba8adc8b4a47908ee4e1b8e75792ca">&#9670;&nbsp;</a></span>ConvertAndAddPreferredRouteSearchVector()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::ConvertAndAddPreferredRouteSearchVector </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d_int.html">IDInt</a>&#160;</td>
          <td class="paramname"><em>ReqPosRouteID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>AutoSigsFlag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called after a preferred (i.e. preferred direction or automatic signals) route has been selected and has finished flashing, to add it to the AllRoutesVector. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l16792">16792</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 3 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a36ba8adc8b4a47908ee4e1b8e75792ca_icgraph.svg" width="100%" height="378"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a8c15c59f761de0119fa17c44b18933d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c15c59f761de0119fa17c44b18933d0">&#9670;&nbsp;</a></span>FindForwardTargetSignalAttribute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::FindForwardTargetSignalAttribute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>NextForwardLinkedRouteNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>Attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>StartPos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used when setting signal aspects for a route by working forwards through the route to see what the next forward signal aspects is, because this determines all the rearward signal aspects (added StartPos at v2.17.0 as function now called in SetRearwardsSignalsReturnFalseForTrainInRear instead of SetRouteSignals) </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18444">18444</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 4 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 5 -->
</div>
</div>

</div>
</div>
<a id="a491fff1e619a9dc79774acf85eed72a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a491fff1e619a9dc79774acf85eed72a5">&#9670;&nbsp;</a></span>ForceCancelRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::ForceCancelRoute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cancel a route immediately if a train occupies it when travelling in the wrong direction (or occupies a crossover on a non-route line when the other track is in a route) </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l19505">19505</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 6 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 7 -->
</div>
</div>

</div>
</div>
<a id="a5ce1c3a064a656ca764b5ed98c63151a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ce1c3a064a656ca764b5ed98c63151a">&#9670;&nbsp;</a></span>GetNextNonPreferredRouteElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::GetNextNonPreferredRouteElement </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>HLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>VLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>Callon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d_int.html">IDInt</a> &amp;&#160;</td>
          <td class="paramname"><em>ReqPosRouteID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>PointsChanged</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Try to find a set of linked tracks between the route start element and the one at HLoc &amp; VLoc. If find one return true, set &amp;PointsChanged to true if any points need to be changed and &amp;ReqPosRouteID to the route ID of the existing route to attach to, if there is one, and -1 if not. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l17213">17213</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a5ce1c3a064a656ca764b5ed98c63151a_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a5ce1c3a064a656ca764b5ed98c63151a_icgraph.svg" width="100%" height="300"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a974ac7ab4cb5e6a5df33a3d7b3563315"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a974ac7ab4cb5e6a5df33a3d7b3563315">&#9670;&nbsp;</a></span>GetNextPreferredRouteElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::GetNextPreferredRouteElement </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>HLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>VLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a> *&#160;</td>
          <td class="paramname"><em>EveryPrefDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ConsecSignals</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>AutoSigsFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d_int.html">IDInt</a> &amp;&#160;</td>
          <td class="paramname"><em>ReqPosRouteID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>PointsChanged</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Try to find a set of linked tracks that lie on preferred directions between the route start element and the one at HLoc &amp; VLoc. If find one return true, set &amp;PointsChanged to true if any points need to be changed and &amp;ReqPosRouteID to the route ID of the existing route to attach to, if there is one, and -1 if not. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l15633">15633</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a974ac7ab4cb5e6a5df33a3d7b3563315_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a974ac7ab4cb5e6a5df33a3d7b3563315_icgraph.svg" width="100%" height="388"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a13dd08bfcc95ea1296f9ac4fd699e94d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13dd08bfcc95ea1296f9ac4fd699e94d">&#9670;&nbsp;</a></span>GetNonPreferredRouteStartElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::GetNonPreferredRouteStartElement </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>HLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>VLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>Callon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the starting conditions for a non-preferred (i.e. unrestricted) route selection beginning on HLoc &amp; VLoc. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l16986">16986</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 8 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a13dd08bfcc95ea1296f9ac4fd699e94d_icgraph.svg" width="100%" height="300"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="ab7ac58fe51393873e9054ffa724bc118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7ac58fe51393873e9054ffa724bc118">&#9670;&nbsp;</a></span>GetPreferredRouteStartElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::GetPreferredRouteStartElement </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>HLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>VLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a> *&#160;</td>
          <td class="paramname"><em>EveryPrefDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>AutoSigsFlag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the starting conditions for a preferred direction or automatic signal route selection beginning on HLoc &amp; VLoc. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l15430">15430</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 9 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_ab7ac58fe51393873e9054ffa724bc118_icgraph.svg" width="100%" height="388"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="ac7f8f09d6f6f662457d26c170fce9301"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7f8f09d6f6f662457d26c170fce9301">&#9670;&nbsp;</a></span>PointsToBeChanged()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::PointsToBeChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>NewFailedPointsTVPos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by GetNextNonPreferredRouteElement and GetNextPreferredRouteElement to check whether or not any points on the selected route need to be changed. Also gives every set of points that needs to change the chance to fail, and if so returns the TV position, added at v2.13.0 </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18356">18356</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_ac7f8f09d6f6f662457d26c170fce9301_cgraph.svg" width="100%" height="502"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_ac7f8f09d6f6f662457d26c170fce9301_icgraph.svg" width="100%" height="388"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="abe80edcf03788c54efde83431bd68eaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe80edcf03788c54efde83431bd68eaa">&#9670;&nbsp;</a></span>ReclaimSignalsForNonAutoSigRoutes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::ReclaimSignalsForNonAutoSigRoutes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a>&#160;</td>
          <td class="paramname"><em>LastPDElement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a>&#160;</td>
          <td class="paramname"><em>FirstPDElement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds signal to front/end of green or red routes when blue route truncated or removed. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l19379">19379</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 10 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 11 -->
</div>
</div>

</div>
</div>
<a id="aa36c801460b594ec96af1779d633d739"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa36c801460b594ec96af1779d633d739">&#9670;&nbsp;</a></span>RouteImageMarker()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::RouteImageMarker </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Graphics::TBitmap *&#160;</td>
          <td class="paramname"><em>Bitmap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used when creating a bitmap image to display the route colours and direction arrows (as on screen during operation) for an operating railway. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l16099">16099</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="class_t_one_route_aa36c801460b594ec96af1779d633d739_cgraph.svg" width="428" height="240"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>

</div>
</div>
<a id="a69c8690ba3aae40ff99a5d2a629ba321"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69c8690ba3aae40ff99a5d2a629ba321">&#9670;&nbsp;</a></span>SearchForNonPreferredRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::SearchForNonPreferredRoute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_track_element.html">TTrackElement</a>&#160;</td>
          <td class="paramname"><em>CurrentTrackElement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>XLinkPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>RequiredPosition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d_int.html">IDInt</a>&#160;</td>
          <td class="paramname"><em>ReqPosRouteID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>RecursiveCall</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called by GetNextNonPreferredRouteElement to carry out the search for linked track, and also called recursively, if recursive RecursiveCall is true (added at v2.13.0) </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l17629">17629</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a69c8690ba3aae40ff99a5d2a629ba321_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a69c8690ba3aae40ff99a5d2a629ba321_icgraph.svg" width="100%" height="300"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a3bbf0add5e8c2b88fb09cb1be158d9ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bbf0add5e8c2b88fb09cb1be158d9ad">&#9670;&nbsp;</a></span>SearchForPreferredRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::SearchForPreferredRoute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a>&#160;</td>
          <td class="paramname"><em>PrefDirElement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>XLinkPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>RequiredPosition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d_int.html">IDInt</a>&#160;</td>
          <td class="paramname"><em>ReqPosRouteID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_one_pref_dir.html">TOnePrefDir</a> *&#160;</td>
          <td class="paramname"><em>EveryPrefDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ConsecSignals</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>EndSelectPosition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>AutoSigsFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>RecursiveCall</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called by GetNextPreferredRouteElement to carry out the search for a valid route, and also called recursively, if recursive RecursiveCall is true (added at v2.13.0) </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l16135">16135</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a3bbf0add5e8c2b88fb09cb1be158d9ad_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a3bbf0add5e8c2b88fb09cb1be158d9ad_icgraph.svg" width="100%" height="388"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a27944580589d98672c0328c498617bdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27944580589d98672c0328c498617bdb">&#9670;&nbsp;</a></span>SetLCChangeValues()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::SetLCChangeValues </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>PrefDirRoute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>After a route has been selected successfully this function sets all LC change values appropriately for the selected route type and location. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l19620">19620</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a27944580589d98672c0328c498617bdb_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a27944580589d98672c0328c498617bdb_icgraph.svg" width="100%" height="427"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="ac7cf8dc205ad2d463480ddf349fb2ccc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7cf8dc205ad2d463480ddf349fb2ccc">&#9670;&nbsp;</a></span>SetRearwardsSignalsReturnFalseForTrainInRear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::SetRearwardsSignalsReturnFalseForTrainInRear </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>Attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>PrefDirVectorStartPosition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>SkipForwardLook</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called by <a class="el" href="class_t_all_routes.html#ac6bd39457747eaa96476a8a87df15ac2" title="Set rearwards signals from the specified route starting position.">TAllRoutes::SetAllRearwardsSignals</a> to set rearwards signals from a specified starting position. If a train is found during the rearwards search then this function flags the fact so that the calling function can change its behaviour with respect to further rearwards signal aspects (added SkipForwardLook at v2.17.0 so behaviour different in first and second calls). </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18544">18544</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 12 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 13 -->
</div>
</div>

</div>
</div>
<a id="a8f8fe8f852dd24cf8d12933f22b5750c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f8fe8f852dd24cf8d12933f22b5750c">&#9670;&nbsp;</a></span>SetRemainingSearchVectorValues()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::SetRemainingSearchVectorValues </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called when setting unrestricted routes to set the route element values appropriately after a successful search has been conducted. It isn't needed for preferred routes because the element values are obtained from the already set preferred direction elements. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18063">18063</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a8f8fe8f852dd24cf8d12933f22b5750c_cgraph.svg" width="100%" height="523"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a8f8fe8f852dd24cf8d12933f22b5750c_icgraph.svg" width="100%" height="300"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a767d992d3794bbd31c8641e9ecb5f7dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a767d992d3794bbd31c8641e9ecb5f7dd">&#9670;&nbsp;</a></span>SetRouteFlashValues()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::SetRouteFlashValues </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>AutoSigsFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>PrefDirRoute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>After a route has been selected successfully this function sets all RouteFlash (see above) values appropriately for the selected route type and location. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l19592">19592</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a767d992d3794bbd31c8641e9ecb5f7dd_cgraph.svg" width="100%" height="525"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a767d992d3794bbd31c8641e9ecb5f7dd_icgraph.svg" width="100%" height="300"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="afc6dafc4713c2b10c9e21b28fac20430"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6dafc4713c2b10c9e21b28fac20430">&#9670;&nbsp;</a></span>SetRoutePoints()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::SetRoutePoints </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called when setting a route to set all points appropriately. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18305">18305</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 14 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_afc6dafc4713c2b10c9e21b28fac20430_icgraph.svg" width="100%" height="427"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="ab8570cc4c3941927b206c015a9813af0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8570cc4c3941927b206c015a9813af0">&#9670;&nbsp;</a></span>SetRouteSearchVectorGraphics()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::SetRouteSearchVectorGraphics </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>AutoSigsFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>PrefDirRoute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set values for EXGraphicPtr and EntryDirectionGraphicPtr for all elements in SearchVector so that the route displays with the correct colour. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l19569">19569</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_ab8570cc4c3941927b206c015a9813af0_cgraph.svg" width="100%" height="496"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_ab8570cc4c3941927b206c015a9813af0_icgraph.svg" width="100%" height="404"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a4dfe3a028da7a4b6df0f44f33c3e2196"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dfe3a028da7a4b6df0f44f33c3e2196">&#9670;&nbsp;</a></span>SetRouteSignals()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::SetRouteSignals </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called when setting a route to set all signals appropriately. Also called when a new train is added at a position where a route has been set, when it is necessary to set the next rearwards signal to red, the next yellow etc. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18334">18334</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 15 -->
</div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 16 -->
</div>
</div>

</div>
</div>
<a id="a4177e4c0c4d6817515cb19f4f7e1427b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4177e4c0c4d6817515cb19f4f7e1427b">&#9670;&nbsp;</a></span>SignalHasFailed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::SignalHasFailed </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check incorporated in route search routines after have found a legitimate route, returns false for signal failure &amp; deals with graphics &amp; messages. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l19711">19711</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a4177e4c0c4d6817515cb19f4f7e1427b_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="class_t_one_route_a4177e4c0c4d6817515cb19f4f7e1427b_icgraph.svg" width="100%" height="388"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a7c359f022e985fbec06f5518bc9046b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c359f022e985fbec06f5518bc9046b3">&#9670;&nbsp;</a></span>StoreRouteElementInPrefDirVector()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::StoreRouteElementInPrefDirVector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a>&#160;</td>
          <td class="paramname"><em>LoadPrefDirElement</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Erase a single route element - don't need this now incorporated in .cpp file. </p>
<p>Store a single route element in the PrefDirVector </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01588">1588</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a431473ce9a2ef6c49781ab84c972a641"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a431473ce9a2ef6c49781ab84c972a641">&#9670;&nbsp;</a></span>TruncateRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TOneRoute::TruncateRoute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Caller</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>HLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>VLoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>PrefDirRoute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_track_unit_8h.html#a7eb3a8eb193ea4c72dcf6e38e445c512">TTruncateReturnType</a> &amp;&#160;</td>
          <td class="paramname"><em>ReturnFlag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Examines the route to see whether the element at H &amp; V is in the route, and if not returns a ReturnFlag value of NotInRoute. </p>
<p>If it is in a route but the element selected is invalid, then a message is given and returns with a ReturnFlag value of InRouteFalse. Otherwise the route is truncated at and including the element that matches H &amp; V with a ReturnFlag value of InRouteTrue. Selection invalid if select a bridge; trying to leave a single element; last element to be left not a signal (for PrefDirRoute or AutoSigsFlag set); last element to be left a bridge, points or crossover (for not PrefDirRoute &amp; AutoSigsFlag not set), or part of route locked. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l18791">18791</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 17 -->
</div>
</div>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aac291f4829ef0570b124bda994488e21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac291f4829ef0570b124bda994488e21">&#9670;&nbsp;</a></span>QuitAllRecursiveSearchesFlag</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TOneRoute::QuitAllRecursiveSearchesFlag</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>&lt; limit to the number of elements searched in attempting to find a route in on leg </p>
<p>used during searching for preferred routes when no more recursive calls are required, added at v2.15.1 </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01554">1554</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="aee7b2c91e9920bbb59c84cb562f0680a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee7b2c91e9920bbb59c84cb562f0680a">&#9670;&nbsp;</a></span>ReqPosRouteID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d_int.html">IDInt</a> TOneRoute::ReqPosRouteID</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>session saves as routes in build are not saved in sessions </p>
<p>the route ID number of the route that is being extended backwards during route building, not needed for </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01556">1556</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="ad5c3066eea66bd42ea847f550e2b0589"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5c3066eea66bd42ea847f550e2b0589">&#9670;&nbsp;</a></span>RouteFlash</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_one_route_1_1_t_route_flash.html">TRouteFlash</a> TOneRoute::RouteFlash</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the class member that allows the route to flash during setting up (see <a class="el" href="class_t_one_route_1_1_t_route_flash.html" title="The flashing route.">TRouteFlash</a> above) </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01568">1568</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a75f84f2ad79c985ff7b664cfecdab376"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75f84f2ad79c985ff7b664cfecdab376">&#9670;&nbsp;</a></span>RouteID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int TOneRoute::RouteID</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the ID number of the route, this is needed for session saves </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01562">1562</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="aa2d1990ed4b4884eb45ac54644fe749c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2d1990ed4b4884eb45ac54644fe749c">&#9670;&nbsp;</a></span>RouteSearchLimit</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int TOneRoute::RouteSearchLimit = 200000</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01550">1550</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a6bd715c369739f809f6a53be6d7879b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bd715c369739f809f6a53be6d7879b2">&#9670;&nbsp;</a></span>RouteSearchLimitOneLeg</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int TOneRoute::RouteSearchLimitOneLeg = 300</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; limit to the total number of elements searched in attempting to find a route </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01552">1552</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a884d9f41f6c31abba02933d24a940e22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a884d9f41f6c31abba02933d24a940e22">&#9670;&nbsp;</a></span>StartElement1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> TOneRoute::StartElement1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01566">1566</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a0e1037a37eafc6f9e3d27cf362ee80ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e1037a37eafc6f9e3d27cf362ee80ad">&#9670;&nbsp;</a></span>StartElement2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_pref_dir_element.html">TPrefDirElement</a> TOneRoute::StartElement2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the two preferred direction elements corresponding to the starting position of a new route </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01566">1566</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a5b779b57f966fd9c7c7d1c42f8ecde22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b779b57f966fd9c7c7d1c42f8ecde22">&#9670;&nbsp;</a></span>StartRoutePosition</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int TOneRoute::StartRoutePosition</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>TrackVectorPosition of the StartElement(s) set when the starting position of a new route is selected, note that although there may be two StartElements (as there can be two preferred directions on a single element), there is only one TrackVectorPosition as the element is the same for both. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01564">1564</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a485b30c243956a400f658124d0f4ecd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a485b30c243956a400f658124d0f4ecd0">&#9670;&nbsp;</a></span>StartSelectionRouteID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d_int.html">IDInt</a> TOneRoute::StartSelectionRouteID</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>needed for session saves as routes in build are not saved in sessions </p>
<p>the route ID number of the route that is being extended forwards during route building, not </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l01559">1559</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a></li>
<li><a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_t_one_route.html">TOneRoute</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  </ul>
</div>
</body>
</html>
